home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
5
/
SOUND_KI
/
HUFFMAN.H
< prev
next >
Wrap
Text File
|
1991-08-25
|
497b
|
30 lines
/*
>> Huffmann.h Project STORM
>>
>> Copyright ⌐1990, Juri Munkki
>>
>> This file contains definitions for compression routines for
>> the sound data of Project STORM.
*/
#define SOUNDFILE 'FSSD'
#define QTBITS 10 /* Should always be less than 16! */
#define VALUES 128
#define DROPBITS 1
#define ANDMASK 0x7F
typedef struct treenode
{
char value;
int codelen;
int code;
long freq;
struct treenode *zeroptr;
struct treenode *oneptr;
int typeflag;
} treenode;